package com.youli.gb.service.impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.sun.imageio.plugins.common.I18N;
import com.youli.gb.mapper.SysUserMapper;
import com.youli.gb.model.SysUser;
import com.youli.gb.service.ISysUserService;
import com.youli.gb.utils.DBUtils;

public class SysUserServiceImpl implements ISysUserService {
	
	//注入mapper对象
	private SysUserMapper userMapper = DBUtils.getSqlSession().getMapper(SysUserMapper.class);

	

	@Override
	public List<SysUser> getAll() {
		List<SysUser> list =  userMapper.getAll();
		return list;
	}

	

	

	
	
}
